﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.Production;

namespace DataObjects.Interface.Production
{
    public interface IStockDao
    {
        List<Stock> GetStocks();

        List<Stock> GetStocksByBranch(string restaurantId);

        Stock GetStock(string stockId);

        int GetTotalPage();

        int GetTotalPageByBranch(string restaurantId);

        List<Stock> GetStocksByPage(int currentPage);

        List<Stock> GetStocksByPageAndBranch(int currentPage, string restaurantId);

        List<Stock> GetStocksByIsActive(bool isActive);

        List<Stock> GetStocksByIsActiveAndBranch(bool isActive, string restaurantId);

        void InsertStock(Stock stock);

        void UpdateStock(Stock stock);

        void DeleteStock(Stock stock);
    }
}
